/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bgu.sonar.util.ui.visual;

import java.awt.Image;

/**
 *
 * @author bennyl
 */
public class VisualData implements HasVisualData{
    private String name;
    private Image icon;

    public VisualData(String name, Image icon) {
        this.name = name;
        this.icon = icon;
    }

    @Override
    public String getVisualName() {
        return name;
    }

    @Override
    public Image getIcon() {
        return icon;
    }

    public void setIcon(Image icon) {
        this.icon = icon;
    }

    public void setVisualName(String name) {
        this.name = name;
    }

    @Override
    public String getDescription() {
        return "";
    }
    
    
}
